//
//  WBStatusModel.h
//  WeiBoOC
//
//  Created by 韩菲菲 on 16/8/13.
//  Copyright © 2016年 韩菲菲. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WBUserModel.h"
#import "WBPictureInfo.h"

@interface WBStatusModel : NSObject

// MARK: - 模型属性
// 创建时间
@property (nonatomic , copy) NSString *created_at;
// 微博ID
@property (nonatomic , assign) int64_t sinaId;
// 微博信息内容
//var text: String?
@property (nonatomic , copy) NSString *text;
// 微博来源
//var source: String?
@property (nonatomic , copy) NSString *source;

//用户模型
@property (nonatomic , strong) WBUserModel *user;

//转发微博信息
@property (nonatomic , strong) WBStatusModel *retweeted_status;

//配图模型 创建一个模型
@property (nonatomic , strong) NSArray<WBPictureInfo *> *pic_urls;

//转发数
@property (nonatomic , assign) int reposts_count;

//评论数
@property (nonatomic , assign) int comments_count;

//表态数
@property (nonatomic , assign) int attitudes_count;


//字典转模型对象方法
- (instancetype)initWithDictionary:(NSDictionary *)dict;

//类方法
+ (instancetype)statusModelWithDictionary:(NSDictionary *)dict;

@end
